const { NODE_ENV, VUE_APP_PROD_HOST } = process.env
const { host } = window.location

const isLocal = NODE_ENV === 'development'
const isTest = host.includes('43.138.154.74') // 测试环境的ip
const isProd = host.includes(VUE_APP_PROD_HOST)

export default {
  version: '0.0.1',
  isLocal,
  isTest,
  isProd,
}
